php change get value in a link

34

preg_replace("#&d=.*&#", '&d=newvalue&', $_SERVER['REQUEST_URI'])

Comments

Submit
0 Comments